package com.fsy.mapper;

import com.fsy.entities.Userchecks;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 凡凡
* @description 针对表【userchecks】的数据库操作Mapper
* @createDate 2022-04-29 11:18:39
* @Entity com.fsy.entities.Userchecks
*/
public interface UserchecksMapper extends BaseMapper<Userchecks> {
    Userchecks getTodaySign(@Param("userId") Integer userId);

    /**
     * 查询全部签到签退情况
     * @param userchecks
     * @return
     */
    List<Userchecks> selectAllUserChecks(Userchecks userchecks);


    /**
     * 查询全部条数
     * @param userchecks
     * @return
     */
    int getCountUserchecks(Userchecks userchecks);

}




